Interface AsaAccessGroupManager

All Superinterfaces:
IPCObject
All Known Implementing Classes:
AsaAccessGroupManagerImpl

public interface AsaAccessGroupManager extends IPCObject
Information provided by the PKI file:

    \class CAsaAccessGroupManager
    
    \brief CAsaAccessGroupManager is the asa object storage manager class that is used to store and retrieve asa object.
    
    \example network().getDevice("Router0").getObjectManager()->getObjectByName("objectName")
    
Author:
Auto-generated
  • Method Details

    • deleteAccessGroupWithNameIf

      boolean deleteAccessGroupWithNameIf(String nameIf)
      Information provided by the PKI file:
      
          \brief delete the access-group that associates with the specified nameIf.
          
          \param nameIf, the nameIf of the interface that has access-list applied on.
          
              
      Parameters:
      nameIf - Takes in a parameter of nameIf
      Returns:
      boolean Returns a boolean
    • deleteAccessGroup

      boolean deleteAccessGroup(Direction direction, String nameIf, String aclId)
      Information provided by the PKI file:
      
          \brief delete the access-group that associates with the specified nameIf, aclId and in a certain direction.
          
          \param direction, the traffic direction
          \param nameIf, nameIf of the interface that has the acl applied on
          \param aclId, acl id of the acl
          
              
      Parameters:
      direction - Takes in a parameter of direction
      nameIf - Takes in a parameter of nameIf
      aclId - Takes in a parameter of aclId
      Returns:
      boolean Returns a boolean
    • addAccessGroup

      boolean addAccessGroup(Direction direction, String nameIf, String aclId)
      Information provided by the PKI file:
      
          \brief add a new access-group.
          \param direction, the traffic direction eIn =0,
          eOut,
          eGlobal
          \param nameIf, nameIf of the interface that has the acl applied on
          \param aclId,  acl id of the acl.
          
          \return bool, value is true if the add was successful, false if not.
          
              
      Parameters:
      direction - Takes in a parameter of direction
      nameIf - Takes in a parameter of nameIf
      aclId - Takes in a parameter of aclId
      Returns:
      boolean Returns a boolean
    • getAccessGroupAt

      AsaAccessGroup getAccessGroupAt(int index)
      Information provided by the PKI file:
      
          \brief Return the access-group at a specified index.
          \param index, index of the access group to get.  Range (0, getAccessGroupCount()).
          
              
      Parameters:
      index - Takes in a parameter of index
      Returns:
      AsaAccessGroup Returns a AsaAccessGroup
    • getAccessGroupCount

      int getAccessGroupCount()
      Information provided by the PKI file:
      
          \brief Return the number of access-group configured.
          
          \return int, value is how many access groups there are total.
          
              
      Returns:
      int Returns a int